package com.uxhao.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author uxhao
 * @desc 启动类
 * @date 2021/1/7 15:56
 */
@SpringBootApplication
@EnableDiscoveryClient  //微服务注册
@EnableFeignClients
@ComponentScan(basePackages = {"com.uxhao"}) //包扫描 为了扫描到service_base下的配置类
public class EduApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class,args);
    }
}
